package com.designpatterns.singleton;

public class Logger {
	private static Logger logger = null;
	
	private Logger() {
	}
	
	public static Logger getInstance() {
		if(logger == null) {
			return new Logger();
		}
		return logger;
	}
	
	public void debug() {
		System.out.println("DEBUG");
	}
}
